[INFO] fetching crate rust-nntp 0.0.1...
[INFO] checking rust-nntp-0.0.1 against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] extracting crate rust-nntp 0.0.1 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate rust-nntp 0.0.1 on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rust-nntp 0.0.1
[INFO] finished tweaking crates.io crate rust-nntp 0.0.1
[INFO] tweaked toml for crates.io crate rust-nntp 0.0.1 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 24da5dba46e14259f7f05cd1a7e1ce007dbc038d5f6db9b144278dd9deb2b046
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "24da5dba46e14259f7f05cd1a7e1ce007dbc038d5f6db9b144278dd9deb2b046", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "24da5dba46e14259f7f05cd1a7e1ce007dbc038d5f6db9b144278dd9deb2b046", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24da5dba46e14259f7f05cd1a7e1ce007dbc038d5f6db9b144278dd9deb2b046", kill_on_drop: false }`
[INFO] [stdout] 24da5dba46e14259f7f05cd1a7e1ce007dbc038d5f6db9b144278dd9deb2b046
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 99c0a20f8abf3c785243c8b627a7f6cb9b47427a1a343cb5d234ee4bc697152d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "99c0a20f8abf3c785243c8b627a7f6cb9b47427a1a343cb5d234ee4bc697152d", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-nntp v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `std::io::IoResult`, `std::io::TcpStream`, `std::io::IoError`
[INFO] [stdout]  --> src/nntp.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{IoResult, TcpStream, IoError};
[INFO] [stdout]   |               ^^^^^^^^  ^^^^^^^^^  ^^^^^^^ no `IoError` in `io`
[INFO] [stdout]   |               |         |
[INFO] [stdout]   |               |         no `TcpStream` in `io`
[INFO] [stdout]   |               no `IoResult` in `io`
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{Result, TcpStream, IoError};
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{IoResult, TcpStream, Error};
[INFO] [stdout]   |                                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::IoErrorKind`
[INFO] [stdout]  --> src/nntp.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::IoErrorKind::OtherIoError;
[INFO] [stdout]   |              ^^^^^^^^^^^ could not find `IoErrorKind` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::io::IoResult`, `std::io::TcpStream`, `std::io::IoError`
[INFO] [stdout]  --> src/nntp.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{IoResult, TcpStream, IoError};
[INFO] [stdout]   |               ^^^^^^^^  ^^^^^^^^^  ^^^^^^^ no `IoError` in `io`
[INFO] [stdout]   |               |         |
[INFO] [stdout]   |               |         no `TcpStream` in `io`
[INFO] [stdout]   |               no `IoResult` in `io`
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{Result, TcpStream, IoError};
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{IoResult, TcpStream, Error};
[INFO] [stdout]   |                                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::IoErrorKind`
[INFO] [stdout]  --> src/nntp.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::IoErrorKind::OtherIoError;
[INFO] [stdout]   |              ^^^^^^^^^^^ could not find `IoErrorKind` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/nntp.rs:43:54
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn article_by_number(&mut self, article_number: int) -> Result<Vec<String>, String> {
[INFO] [stdout]    |                                                         ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/nntp.rs:69:51
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn body_by_number(&mut self, article_number: int) -> Result<Vec<String>, String> {
[INFO] [stdout]    |                                                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/nntp.rs:121:51
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub fn head_by_number(&mut self, article_number: int) -> Result<Vec<String>, String> {
[INFO] [stdout]     |                                                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/nntp.rs:278:51
[INFO] [stdout]     |
[INFO] [stdout] 278 |     pub fn stat_by_number(&mut self, article_number: int) -> Result<String, String> {
[INFO] [stdout]     |                                                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/nntp.rs:307:45
[INFO] [stdout]     |
[INFO] [stdout] 307 |     fn read_response(&mut self, expected_code: int) -> Result<(int, String), String> {
[INFO] [stdout]     |                                                ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/nntp.rs:307:61
[INFO] [stdout]     |
[INFO] [stdout] 16  | impl NNTPStream {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<int>`
[INFO] [stdout] ...
[INFO] [stdout] 307 |     fn read_response(&mut self, expected_code: int) -> Result<(int, String), String> {
[INFO] [stdout]     |                                                                ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/nntp.rs:332:16
[INFO] [stdout]     |
[INFO] [stdout] 332 |         let code: int = from_str(v[0]).unwrap();
[INFO] [stdout]     |                   ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stdout]    --> src/nntp.rs:332:22
[INFO] [stdout]     |
[INFO] [stdout] 332 |         let code: int = from_str(v[0]).unwrap();
[INFO] [stdout]     |                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/nntp.rs:21:20
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let tcp_stream = try!(TcpStream::connect(connect_string.as_slice()));
[INFO] [stdout]    |                          ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/nntp.rs:43:54
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn article_by_number(&mut self, article_number: int) -> Result<Vec<String>, String> {
[INFO] [stdout]    |                                                         ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/nntp.rs:69:51
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn body_by_number(&mut self, article_number: int) -> Result<Vec<String>, String> {
[INFO] [stdout]    |                                                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/nntp.rs:121:51
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub fn head_by_number(&mut self, article_number: int) -> Result<Vec<String>, String> {
[INFO] [stdout]     |                                                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/nntp.rs:278:51
[INFO] [stdout]     |
[INFO] [stdout] 278 |     pub fn stat_by_number(&mut self, article_number: int) -> Result<String, String> {
[INFO] [stdout]     |                                                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/nntp.rs:307:45
[INFO] [stdout]     |
[INFO] [stdout] 307 |     fn read_response(&mut self, expected_code: int) -> Result<(int, String), String> {
[INFO] [stdout]     |                                                ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/nntp.rs:307:61
[INFO] [stdout]     |
[INFO] [stdout] 16  | impl NNTPStream {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<int>`
[INFO] [stdout] ...
[INFO] [stdout] 307 |     fn read_response(&mut self, expected_code: int) -> Result<(int, String), String> {
[INFO] [stdout]     |                                                                ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/nntp.rs:332:16
[INFO] [stdout]     |
[INFO] [stdout] 332 |         let code: int = from_str(v[0]).unwrap();
[INFO] [stdout]     |                   ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stdout]    --> src/nntp.rs:332:22
[INFO] [stdout]     |
[INFO] [stdout] 332 |         let code: int = from_str(v[0]).unwrap();
[INFO] [stdout]     |                         ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/nntp.rs:21:20
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let tcp_stream = try!(TcpStream::connect(connect_string.as_slice()));
[INFO] [stdout]    |                          ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:21:59
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let tcp_stream = try!(TcpStream::connect(connect_string.as_slice()));
[INFO] [stdout]    |                                                                 ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:34:48
[INFO] [stdout]    |
[INFO] [stdout] 34 |         self.retrieve_article(format!("ARTICLE\r\n").as_slice())
[INFO] [stdout]    |                                                      ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:39:63
[INFO] [stdout]    |
[INFO] [stdout] 39 |         self.retrieve_article(format!("ARTICLE {}\r\n", article_id).as_slice())
[INFO] [stdout]    |                                                                     ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/nntp.rs:48:41
[INFO] [stdout]    |
[INFO] [stdout] 48 |         self.stream.write_str(article_command.as_slice());
[INFO] [stdout]    |                                               ^^^^^^^^ method not found in `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:60:42
[INFO] [stdout]    |
[INFO] [stdout] 60 |         self.retrieve_body(format!("BODY\r\n").as_slice())
[INFO] [stdout]    |                                                ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:65:57
[INFO] [stdout]    |
[INFO] [stdout] 65 |         self.retrieve_body(format!("BODY {}\r\n", article_id).as_slice())
[INFO] [stdout]    |                                                               ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/nntp.rs:74:38
[INFO] [stdout]    |
[INFO] [stdout] 74 |         self.stream.write_str(body_command.as_slice());
[INFO] [stdout]    |                                            ^^^^^^^^ method not found in `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:88:46
[INFO] [stdout]    |
[INFO] [stdout] 88 |         self.stream.write_str(capabilities_command.as_slice());
[INFO] [stdout]    |                                                    ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:102:38
[INFO] [stdout]     |
[INFO] [stdout] 102 |         self.stream.write_str(date_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:112:42
[INFO] [stdout]     |
[INFO] [stdout] 112 |         self.retrieve_head(format!("HEAD\r\n").as_slice())
[INFO] [stdout]     |                                                ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:21:59
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let tcp_stream = try!(TcpStream::connect(connect_string.as_slice()));
[INFO] [stdout]    |                                                                 ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:117:57
[INFO] [stdout]     |
[INFO] [stdout] 117 |         self.retrieve_head(format!("HEAD {}\r\n", article_id).as_slice())
[INFO] [stdout]     |                                                               ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/nntp.rs:126:38
[INFO] [stdout]     |
[INFO] [stdout] 126 |         self.stream.write_str(head_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:34:48
[INFO] [stdout]    |
[INFO] [stdout] 34 |         self.retrieve_article(format!("ARTICLE\r\n").as_slice())
[INFO] [stdout]    |                                                      ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:140:38
[INFO] [stdout]     |
[INFO] [stdout] 140 |         self.stream.write_str(last_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:39:63
[INFO] [stdout]    |
[INFO] [stdout] 39 |         self.retrieve_article(format!("ARTICLE {}\r\n", article_id).as_slice())
[INFO] [stdout]    |                                                                     ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:152:38
[INFO] [stdout]     |
[INFO] [stdout] 152 |         self.stream.write_str(list_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/nntp.rs:48:41
[INFO] [stdout]    |
[INFO] [stdout] 48 |         self.stream.write_str(article_command.as_slice());
[INFO] [stdout]    |                                               ^^^^^^^^ method not found in `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:60:42
[INFO] [stdout]    |
[INFO] [stdout] 60 |         self.retrieve_body(format!("BODY\r\n").as_slice())
[INFO] [stdout]    |                                                ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:166:39
[INFO] [stdout]     |
[INFO] [stdout] 166 |         self.stream.write_str(group_command.as_slice());
[INFO] [stdout]     |                                             ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:65:57
[INFO] [stdout]    |
[INFO] [stdout] 65 |         self.retrieve_body(format!("BODY {}\r\n", article_id).as_slice())
[INFO] [stdout]    |                                                               ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/nntp.rs:74:38
[INFO] [stdout]    |
[INFO] [stdout] 74 |         self.stream.write_str(body_command.as_slice());
[INFO] [stdout]    |                                            ^^^^^^^^ method not found in `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:178:38
[INFO] [stdout]     |
[INFO] [stdout] 178 |         self.stream.write_str(help_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/nntp.rs:88:46
[INFO] [stdout]    |
[INFO] [stdout] 88 |         self.stream.write_str(capabilities_command.as_slice());
[INFO] [stdout]    |                                                    ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:191:38
[INFO] [stdout]     |
[INFO] [stdout] 191 |         self.stream.write_str(quit_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:102:38
[INFO] [stdout]     |
[INFO] [stdout] 102 |         self.stream.write_str(date_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:206:43
[INFO] [stdout]     |
[INFO] [stdout] 206 |         self.stream.write_str(newgroups_command.as_slice());
[INFO] [stdout]     |                                                 ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:112:42
[INFO] [stdout]     |
[INFO] [stdout] 112 |         self.retrieve_head(format!("HEAD\r\n").as_slice())
[INFO] [stdout]     |                                                ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:117:57
[INFO] [stdout]     |
[INFO] [stdout] 117 |         self.retrieve_head(format!("HEAD {}\r\n", article_id).as_slice())
[INFO] [stdout]     |                                                               ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:223:41
[INFO] [stdout]     |
[INFO] [stdout] 223 |         self.stream.write_str(newnews_command.as_slice());
[INFO] [stdout]     |                                               ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/nntp.rs:126:38
[INFO] [stdout]     |
[INFO] [stdout] 126 |         self.stream.write_str(head_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:236:38
[INFO] [stdout]     |
[INFO] [stdout] 236 |         self.stream.write_str(next_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:140:38
[INFO] [stdout]     |
[INFO] [stdout] 140 |         self.stream.write_str(last_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:152:38
[INFO] [stdout]     |
[INFO] [stdout] 152 |         self.stream.write_str(list_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:252:38
[INFO] [stdout]     |
[INFO] [stdout] 252 |         self.stream.write_str(post_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:166:39
[INFO] [stdout]     |
[INFO] [stdout] 166 |         self.stream.write_str(group_command.as_slice());
[INFO] [stdout]     |                                             ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:269:42
[INFO] [stdout]     |
[INFO] [stdout] 269 |         self.retrieve_stat(format!("STAT\r\n").as_slice())
[INFO] [stdout]     |                                                ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:178:38
[INFO] [stdout]     |
[INFO] [stdout] 178 |         self.stream.write_str(help_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:274:57
[INFO] [stdout]     |
[INFO] [stdout] 274 |         self.retrieve_stat(format!("STAT {}\r\n", article_id).as_slice())
[INFO] [stdout]     |                                                               ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/nntp.rs:283:38
[INFO] [stdout]     |
[INFO] [stdout] 283 |         self.stream.write_str(stat_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:191:38
[INFO] [stdout]     |
[INFO] [stdout] 191 |         self.stream.write_str(quit_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:298:32
[INFO] [stdout]     |
[INFO] [stdout] 298 |         let message_string = String::from_str(message);
[INFO] [stdout]     |                                      ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 4   | use std::str::FromStr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:206:43
[INFO] [stdout]     |
[INFO] [stdout] 206 |         self.stream.write_str(newgroups_command.as_slice());
[INFO] [stdout]     |                                                 ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:223:41
[INFO] [stdout]     |
[INFO] [stdout] 223 |         self.stream.write_str(newnews_command.as_slice());
[INFO] [stdout]     |                                               ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:236:38
[INFO] [stdout]     |
[INFO] [stdout] 236 |         self.stream.write_str(next_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:325:35
[INFO] [stdout]     |
[INFO] [stdout] 325 |         let trimmed_response = response.as_slice().trim_chars(chars_to_trim);
[INFO] [stdout]     |                                         ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:252:38
[INFO] [stdout]     |
[INFO] [stdout] 252 |         self.stream.write_str(post_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:337:24
[INFO] [stdout]     |
[INFO] [stdout] 337 |         Ok((code, String::from_str(message)))
[INFO] [stdout]     |                           ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 4   | use std::str::FromStr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:269:42
[INFO] [stdout]     |
[INFO] [stdout] 269 |         self.retrieve_stat(format!("STAT\r\n").as_slice())
[INFO] [stdout]     |                                                ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:274:57
[INFO] [stdout]     |
[INFO] [stdout] 274 |         self.retrieve_stat(format!("STAT {}\r\n", article_id).as_slice())
[INFO] [stdout]     |                                                               ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/nntp.rs:283:38
[INFO] [stdout]     |
[INFO] [stdout] 283 |         self.stream.write_str(stat_command.as_slice());
[INFO] [stdout]     |                                            ^^^^^^^^ method not found in `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:298:32
[INFO] [stdout]     |
[INFO] [stdout] 298 |         let message_string = String::from_str(message);
[INFO] [stdout]     |                                      ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 4   | use std::str::FromStr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 37 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:325:35
[INFO] [stdout]     |
[INFO] [stdout] 325 |         let trimmed_response = response.as_slice().trim_chars(chars_to_trim);
[INFO] [stdout]     |                                         ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope
[INFO] [stdout]    --> src/nntp.rs:337:24
[INFO] [stdout]     |
[INFO] [stdout] 337 |         Ok((code, String::from_str(message)))
[INFO] [stdout]     |                           ^^^^^^^^ function or associated item not found in `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 4   | use std::str::FromStr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-nntp`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 37 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "99c0a20f8abf3c785243c8b627a7f6cb9b47427a1a343cb5d234ee4bc697152d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99c0a20f8abf3c785243c8b627a7f6cb9b47427a1a343cb5d234ee4bc697152d", kill_on_drop: false }`
[INFO] [stdout] 99c0a20f8abf3c785243c8b627a7f6cb9b47427a1a343cb5d234ee4bc697152d
